#pragma once
#include <any>
#include <climits>

class CSubject;

class CObserver {
public:
    virtual void update(const std::any& value = INT_MAX) = 0;
    virtual void subscribe(CSubject* subject) = 0;
    virtual ~CObserver() = default;
};